<!-- 通用组件：进度条 -->
<template>
    <div :id="id">
        <el-progress :text-inside="true" :stroke-width="26" :percentage="70"></el-progress>
    </div>
</template>

<script>
import register from '@/js/main/register.js';

export default {
    props: {
        element: {
            type: Object
        },
        id: {
            type: String
        }
    },
    created() {
        register.addComponent(this);
    },
    destroyed() {
        register.removeComponent(this);
    }
}
</script>
